﻿using System;
using System.IO;
using System.Collections.Generic;

namespace SerialManager.Memory
{
    public class FileState
    {
        public const string MemoryFileName = ".serialmanager";

        public static void Read( DirectoryInfo directory )
        {

        }

        public bool IsIgnored { get; private set; }

        public bool HasFixedName { get { return !String.IsNullOrEmpty(FixedName); } }

        public string FixedName { get; private set; }

        public FileState( FileInfo file )
        {

        }

        public FileState( BinaryReader reader )
        {
            Deserialize( reader );
        }

        public void Serialize( BinaryWriter writer )
        {
        }

        public void Deserialize( BinaryReader reader )
        {
        }
    }
}
